package com.sskj.market.bean;

import java.util.List;

/**
 * @author :budou
 * Package :com.sskj.market.bean
 * Date :2019/7/30 17:19
 * Describe :订单列表bean
 * Remark :
 */
public class OrderListBean {


    /**
     * id : 3
     * uid : 348
     * sn : ON2019073017435134058
     * product_id : 4
     * total_price : 200.000000
     * total_num : 1
     * address_id : 12
     * address_name :
     * address_phone :
     * address_detail :
     * remark : L 红色
     * status : 1
     * created_at : null
     * updated_at : null
     * pay_at : null
     * express_at : null
     * express_info :
     * received_at : null
     * product : {"id":4,"name":App.INSTANCE.getString(R.string.market_orderListBean1),"price":"200.00","num":971,"shipping_money":"100.00","purchase_number":0,"pics":["images/2019_07_29/ece351bb169cd4b6de3fa6ac685ec14d.png"]}
     */

    private int id;
    private int uid;
    private String sn;
    private int product_id;
    private String total_price;
    private int total_num;
    private int address_id;
    private String address_name;
    private String address_phone;
    private String address_detail;
    private String remark;
    private int status;
    private String shipping_money;
    private Object created_at;
    private Object updated_at;
    private Object pay_at;
    private Object express_at;
    private String express_info;
    private Object received_at;
    private ProductBean product;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public int getProduct_id() {
        return product_id;
    }

    public void setProduct_id(int product_id) {
        this.product_id = product_id;
    }

    public String getShipping_money() {
        return shipping_money;
    }

    public void setShipping_money(String shipping_money) {
        this.shipping_money = shipping_money;
    }

    public String getTotal_price() {
        return total_price;
    }

    public void setTotal_price(String total_price) {
        this.total_price = total_price;
    }

    public int getTotal_num() {
        return total_num;
    }

    public void setTotal_num(int total_num) {
        this.total_num = total_num;
    }

    public int getAddress_id() {
        return address_id;
    }

    public void setAddress_id(int address_id) {
        this.address_id = address_id;
    }

    public String getAddress_name() {
        return address_name;
    }

    public void setAddress_name(String address_name) {
        this.address_name = address_name;
    }

    public String getAddress_phone() {
        return address_phone;
    }

    public void setAddress_phone(String address_phone) {
        this.address_phone = address_phone;
    }

    public String getAddress_detail() {
        return address_detail;
    }

    public void setAddress_detail(String address_detail) {
        this.address_detail = address_detail;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getCreated_at() {
        return created_at;
    }

    public void setCreated_at(Object created_at) {
        this.created_at = created_at;
    }

    public Object getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(Object updated_at) {
        this.updated_at = updated_at;
    }

    public Object getPay_at() {
        return pay_at;
    }

    public void setPay_at(Object pay_at) {
        this.pay_at = pay_at;
    }

    public Object getExpress_at() {
        return express_at;
    }

    public void setExpress_at(Object express_at) {
        this.express_at = express_at;
    }

    public String getExpress_info() {
        return express_info;
    }

    public void setExpress_info(String express_info) {
        this.express_info = express_info;
    }

    public Object getReceived_at() {
        return received_at;
    }

    public void setReceived_at(Object received_at) {
        this.received_at = received_at;
    }

    public ProductBean getProduct() {
        return product;
    }

    public void setProduct(ProductBean product) {
        this.product = product;
    }

    public static class ProductBean {
        /**
         * id : 4
         * name : 测试商品
         * price : 200.00
         * num : 971
         * shipping_money : 100.00
         * purchase_number : 0
         * pics : ["images/2019_07_29/ece351bb169cd4b6de3fa6ac685ec14d.png"]
         */

        private int id;
        private String name;
        private String price;
        private int num;
        private String shipping_money;
        private int purchase_number;
        private List<String> pics;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getShipping_money() {
            return shipping_money;
        }

        public void setShipping_money(String shipping_money) {
            this.shipping_money = shipping_money;
        }

        public int getPurchase_number() {
            return purchase_number;
        }

        public void setPurchase_number(int purchase_number) {
            this.purchase_number = purchase_number;
        }

        public List<String> getPics() {
            return pics;
        }

        public void setPics(List<String> pics) {
            this.pics = pics;
        }
    }
}
